@extends('host.custom.common.common')
@section('c-head')
    <script>

        var PAGE_DATA = {
//            logo : "../../resouce/css/images/regist_logo.png",
            modalCategoryData : undefined,
            modalBrandData : undefined,
            actionUrl : "#registAction",
            userAgreementUrl : "#120",
            supplyAgreementUrl : "#122",
            addrDefault : {
                province_id:"200",
                city_id:"201",
                county_id:"201",
                category_1:"201",
                category_2:"201",
            }, // 默认: undefined; 如果通过"编辑"跳转至本页面，则有值。
            pagingObj : {
                total : "0",
                pageSize : "7",
                page : "1"
            }

        };


    </script>
@stop
@section('body')
        <!-- top_test -->
<div id="top_test"></div>

<!-- web_logo_search -->
<div id="web_logo_search"></div>

<!-- comm_nav -->
<div id="comm_nav"></div>

<div class="com-w mt20">
    <div class="wrapper clearfix">
        <div  class="w220 mr20 comm-left-menu">
            <div class="menu-top-title">供应商中心</div>
            <div id="leftmenuitems"></div>
        </div>

        <div class="w960 comm-main">
            <div class="main-release clearfix">
                <div class="main-release-nav">您当前的位置：首页 > 供应商中心 > 还盘意向单</div>
                <div class="main-release-title">
                    <span class="icons"></span>
                    <span class="release-title-h3 f16">我收到的还盘</span>
                </div>
                <div class="main-release-from">
                    <div class="h60 w960">
                        <div class="closing-time f14">
                            还盘日期：
                            <input type="text" class="sel-order-time-1" readonly="readonly" />
                            -
                            <input type="text" class="sel-order-time-2" readonly="readonly"/>
                            状态：
                            <select id="oper_state">
                                <option value=>请选择</option>
                                <option value="1">已处理</option>
                                <option value="2">未处理</option>
                            </select>
                            <div class="btn btn-warn btn-w70x32 sel-search-btn">搜索</div>
                        </div>
                    </div>
                    <div class="comm-tbl">
                        <div class="head">
                            <ul class="clearfix">
                                <li class="w180">产品标题</li>
                                <li class="w80">价格(元)</li>
                                <li class="w80">数量</li>
                                <li class="w80">还盘时间</li>
                                <li class="w100">地区</li>
                                <li class="w80">联系人</li>
                                <li class="w100">联系电话</li>
                                <li class="w80">状态</li>
                                <li class="w180">操作</li>
                            </ul>
                        </div>
                        <div id="commTabs_1_body" class="body clearfix"></div>

                    </div>

                </div>

            </div>
            <div class="comm-paging" id="comm-paging" style="float: right;"></div>
        </div>

    </div>
</div>

<!-- foot_nav -->
<div id="foot_nav"></div>

<div id="bottom_main"></div>
<script type="text/template" id="item-template">
    <%_.each(obj, function(item){%>

    <ul class="clearfix counter-bid" data-id="<%=item.id%>">
        <li class="w180 double-line"> <a href="#" class="link-txt f-coffee"> <%=item.goodsname %></a> </li>
        <li class="w80 f-red"> ￥<%=item.price %></li>
        <li class="w80"> <%=item.amount %></li>
        <li class="w80 double-line f-grey-2"> <span class="link-txt mt15"><%=item.counterofferdate %></span> </li>
        <li class="w100 f-grey-2"><%=item.district %></li>
        <li class="w80 f-red"><%=item.personname %></li>
        <li class="w100 f-red"> <%=item.tel %></li>
        <%if(item.state=="0"){%>
        <li class="w80 f-grey-2 state">已处理</li>
        <li class="w180">
            <div class="btn btn-warn btn-70x30" style="visibility:hidden;">处理</div>
            <div class="btn btn-default btn-70x30 mt15 sel-edit-del">删除</div> </li>
        <%}else{%>
        <li class="w80 f-grey-2 state">未处理</li>
        <li class="w180">
            <div class="btn btn-warn btn-70x30 handle" code="<%=item.id%>">处理</div>
            <div class="btn btn-default btn-70x30 sel-edit-del">删除</div> </li>
        <%}%></ul>
    <%});%></script>
<script type="text/template" id="item-template1">
    <div class="dialog-div">
        <div>是否确认处理该条信息</div>
        <div class="price-game-btn">
            <div class="btn btn-gray btn-w140x40 remove">取消</div>
            <div class="btn btn-warn btn-w140x40 submits" code="">提交</div>
        </div>
    </div>
</script>
    <link rel="stylesheet" href="/assets/b2b/css/jquery-ui.min.css">
    <link rel="stylesheet" href="/assets/b2b/css/ui-dialog.css">
    <script type="text/javascript" src="/assets/b2b/js/libs/dialog-min.js"></script>
    <script src="/assets/b2b/js/libs/jquery.paging.min.js"></script>
    <script src="/assets/b2b/js/libs/jquery-ui.min.js"></script>
    <script src="/assets/b2b/js/pageModules/supplyer/S3.js"></script>
@stop